import request from '@/router/axios';

export const submit = (row) => {
    return request({
      url: '/api/blade-desk/userconfig/submit',
      method: 'post',
      data: row
    })
  }

export const getByAccount = () => {
  return request({
    url: '/api/blade-desk/userconfig/getByAccount',
    method: 'get'
  })
}

export const updateByAccount = (data) => {
  return request({
    url: '/api/blade-desk/userconfig/updateByAccount',
    method: 'post',
    data
  })
}